package cn.tedu.medicalmanagementsystem.manager.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class ServiceType {
    @ApiModelProperty(value = "服务类型ID")
    private Long id;
    @ApiModelProperty(value = "服务名称")
    private String name;
    @ApiModelProperty(value = "服务描述")
    private String description;
    @ApiModelProperty(value = "基础价格")
    private BigDecimal basePrice;
    @ApiModelProperty(value = "服务时长（分钟）")
    private Integer duration = 60;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
